<?php
class Mdonvi extends CI_Model{
	public function __construct(){
		parent::__construct();
		$this->load->database();
	}
	
	public function listDonvi(){
		$this->db->select('dv_id,dv_tendonvi,dv_madonvi');
		$query = $this->db->get('dm_donvi');
		return $query->result_array();
	}
	
}